package com.oop9.oldPilot;

public class Airplane {

	private double weight;
	private double altitude;

	public double getWeight() {
		return weight;
	}

	public void setWeight(double weight) {
		this.weight = weight;
	}

	public double getAltitude() {
		return altitude;
	}

	public void setAltitude(double altitude) {
		this.altitude = altitude;
	}

	public void fly() {

	}

	public void accelerate() {

	}

	public void land() {

	}

	public void show(Airplane a) {
		a.fly();
		a.accelerate();
		a.land();
	}

	public Airplane() {
		super();
	}

	public Airplane(double weight, double altitude) {
		super();
		this.weight = weight;
		this.altitude = altitude;
	}

}
